package com.itheima.d1_mybatis.mapper;

import com.itheima.d1_mybatis.pojo.User;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;


import java.util.List;


@Mapper
public interface UserMapper {

    @Select("select * from mybatis.user;")
    List<User> getAll();
}
